package com.ruoyi.factory.bom.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 修改记录对象 t_update_record
 *
 * @author ruoyi
 * @date 2022-11-14
 */
public class UpRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 修改物料id */
    @Excel(name = "修改物料id")
    private String partUuid;

    /** 类型编码0-原料,1-成品 */
    @Excel(name = "类型编码0-原料,1-成品")
    private String type;

    /** 物料 */
    @Excel(name = "物料")
    private String partId;

    /** 名称 */
    @Excel(name = "名称")
    private String chinaName;

    /** 修改人id */
    @Excel(name = "修改人id")
    private String updateUserId;

    /** 昵称 */
    @Excel(name = "昵称")
    private String updateNickname;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateName;

    /** 参数 */
    @Excel(name = "参数")
    private String param;

    /** 年 */
    @Excel(name = "年")
    private String year;

    /** 月 */
    @Excel(name = "月")
    private String moth;

    /** 物料时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "物料时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date priceTime;

    /** 登录ip */
    @Excel(name = "登录ip")
    private String ipaddr;

    /** 登录地点 */
    @Excel(name = "登录地点")
    private String loginlocation;

    /** 浏览器 */
    @Excel(name = "浏览器")
    private String browser;

    /** 登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date logintime;

    /** 备注 */
    @Excel(name = "备注")
    private String marks;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setPartUuid(String partUuid)
    {
        this.partUuid = partUuid;
    }

    public String getPartUuid()
    {
        return partUuid;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setPartId(String partId)
    {
        this.partId = partId;
    }

    public String getPartId()
    {
        return partId;
    }
    public void setChinaName(String chinaName)
    {
        this.chinaName = chinaName;
    }

    public String getChinaName()
    {
        return chinaName;
    }
    public void setUpdateUserId(String updateUserId)
    {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserId()
    {
        return updateUserId;
    }
    public void setUpdateNickname(String updateNickname)
    {
        this.updateNickname = updateNickname;
    }

    public String getUpdateNickname()
    {
        return updateNickname;
    }
    public void setUpdateName(String updateName)
    {
        this.updateName = updateName;
    }

    public String getUpdateName()
    {
        return updateName;
    }
    public void setParam(String param)
    {
        this.param = param;
    }

    public String getParam()
    {
        return param;
    }
    public void setYear(String year)
    {
        this.year = year;
    }

    public String getYear()
    {
        return year;
    }
    public void setMoth(String moth)
    {
        this.moth = moth;
    }

    public String getMoth()
    {
        return moth;
    }
    public void setPriceTime(Date priceTime)
    {
        this.priceTime = priceTime;
    }

    public Date getPriceTime()
    {
        return priceTime;
    }
    public void setIpaddr(String ipaddr)
    {
        this.ipaddr = ipaddr;
    }

    public String getIpaddr()
    {
        return ipaddr;
    }
    public void setLoginlocation(String loginlocation)
    {
        this.loginlocation = loginlocation;
    }

    public String getLoginlocation()
    {
        return loginlocation;
    }
    public void setBrowser(String browser)
    {
        this.browser = browser;
    }

    public String getBrowser()
    {
        return browser;
    }
    public void setLogintime(Date logintime)
    {
        this.logintime = logintime;
    }

    public Date getLogintime()
    {
        return logintime;
    }
    public void setMarks(String marks)
    {
        this.marks = marks;
    }

    public String getMarks()
    {
        return marks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("partUuid", getPartUuid())
                .append("type", getType())
                .append("partId", getPartId())
                .append("chinaName", getChinaName())
                .append("updateUserId", getUpdateUserId())
                .append("updateNickname", getUpdateNickname())
                .append("updateName", getUpdateName())
                .append("param", getParam())
                .append("year", getYear())
                .append("moth", getMoth())
                .append("priceTime", getPriceTime())
                .append("ipaddr", getIpaddr())
                .append("loginlocation", getLoginlocation())
                .append("browser", getBrowser())
                .append("logintime", getLogintime())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("marks", getMarks())
                .toString();
    }
}
